<div class="list-menu">
    
        <a href="/securityinformationmfdr/index?language=ch"><i class="fas fa-file-alt"></i>使用困难报告
        <ul>
            <li><a id="u0" href="/securityinformationmfdr/index?language=ch"><i class="fas fa-caret-right text-black-50"></i>使用困难报告填报</a></li>
            <li><a id="u1" href="/securityinformationmfdrsearch/index?language=ch"><i class="fas fa-caret-right text-black-50"></i>使用困难报告查询</a></li>
        </ul>
    </a>
   
        <a href="/securityInformationSrd/index?language=ch"><i class="fas fa-file-alt"></i>故障失效缺陷报告
     
        <ul>
            <li><a id="u2" href="/securityInformationSrd/index?language=ch"><i class="fas fa-caret-right text-black-50"></i>故障失效缺陷报告填报</a></li>
            <li><a id="u3" href="/securityInformationSrdSearch/index?language=ch"><i class="fas fa-caret-right text-black-50"></i>故障失效缺陷报告查询</a></li>
        </ul>
    </a>
</div>
<script>

    function isurl(){
        
       var url = window.location.pathname;
       
       console.log(url);
       
       var arr = new Array();
       arr[0] = "/securityinformationmfdr/index";
       arr[1] = "/securityinformationmfdrsearch/index";
       arr[2] = "/securityInformationSrd/index";
       arr[3] = "/securityInformationSrdSearch/index";
       
       for( a in arr ){
           
           if(arr[a]==url){
             $("#u"+a).attr("style","color: red");        
           }
         
       }
        
    }
    isurl();
</script>